package com.anonymous.community.api.model;

/**
 * 创建评论响应 - 根据API v3.0.0文档
 * 响应格式：{ "comment": {...} }
 */
public class CreateCommentResponse {
    private CommentInfo comment;

    public static class CommentInfo {
        private int id;
        private String content;
        private int post_id;
        private int author_id;
        private String anonymous_id;
        private Integer parent_id;
        private int like_count;
        private String created_at;
        private String updated_at;

        public int getId() {
            return id;
        }

        public String getContent() {
            return content;
        }

        public int getPostId() {
            return post_id;
        }

        public int getAuthorId() {
            return author_id;
        }

        public String getAnonymousId() {
            return anonymous_id;
        }

        public Integer getParentId() {
            return parent_id;
        }

        public int getLikeCount() {
            return like_count;
        }

        public String getCreatedAt() {
            return created_at;
        }

        public String getUpdatedAt() {
            return updated_at;
        }
    }

    public CommentInfo getComment() {
        return comment;
    }

    public void setComment(CommentInfo comment) {
        this.comment = comment;
    }
}
